﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AdvancedSearch.aspx.cs" Inherits="AdvancedSearch" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>高级搜索</title>
    <style type="text/css">
        .style4
        {
            height: 34px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div style="padding-left: 10%; width: 100%">
        <table align="left" style="width: 60%;" cellspacing="10px">
            <tr>
                <td colspan="4" style="font-weight: bold; height: 50px">
                    高级搜索
                </td>
            </tr>
            <tr>
                <td>
                    检索字段
                </td>
                <td>
                    输入检索词或词组
                </td>
                <td align="center">
                    <b>命中记录数</b>
                </td>
            </tr>
            <tr>
                <td>
                    <select name="field">
                        <option value="1" selected>所有字段</option>
                        <option value="2">书名</option>
                        <option value="3">作者</option>
                        <option value="4">编号</option>
                        <option value="5">出版社</option>
                        <option value="6">版本号</option>
                    </select>
                </td>
                <td>
                    <input type="text" name="input_1" size="30" maxlength="255" />
                </td>
                <td align="center">
                    <font color="red">(单击查看)</font>
                </td>
            </tr>
            <tr>
                <td>
                    <select name="field">
                        <option value="1" selected>所有字段</option>
                        <option value="2">书名</option>
                        <option value="3">作者</option>
                        <option value="4">编号</option>
                        <option value="5">出版社</option>
                        <option value="6">版本号</option>
                    </select>
                </td>
                <td>
                    <input type="text" name="input_2" size="30" maxlength="255" />
                </td>
                <td align="center">
                    <font color="red">(单击查看)</font>
                </td>
            </tr>
            <tr>
                <td>
                    <select name="field">
                        <option value="1" selected>所有字段</option>
                        <option value="2">书名</option>
                        <option value="3">作者</option>
                        <option value="4">编号</option>
                        <option value="5">出版社</option>
                        <option value="6">版本号</option>
                    </select>
                </td>
                <td>
                    <input type="text" name="input_3" size="30" maxlength="255" />
                </td>
                <td align="center">
                    <font color="red">(单击查看)</font>
                </td>
            </tr>
            <tr>
                <td colspan="4">
                    年份:(开始 -- 结束)&nbsp;&nbsp;&nbsp;&nbsp;
                    <input type="text" style="vertical-align: bottom" size="10" maxlength="10" value="1912" />&nbsp;&nbsp;到&nbsp;&nbsp;
                    <input type="text" style="vertical-align: bottom" size="10" maxlength="10" value="2012" />&nbsp;&nbsp;(yy
                    到 yy)
                </td>
            </tr>
        </table>
    </div>
    <div style="width: 100%; padding-left: 10%">
        <table align="left" style="width: 60%">
            <tr>
                <td align="right" class="style4">
                    <asp:Button runat="server" Font-Size="Medium" Text="搜索" OnClick="btSearchClick" />&nbsp;&nbsp;&nbsp;
                    <asp:Button runat="server" Font-Size="Medium" Text="清除" />
                    &nbsp;&nbsp;&nbsp;&nbsp;
                </td>
            </tr>
        </table>
    </div>
    <div style="padding-left: 10%; width: 100%">
        <table width="60%" align="left">
            <tr>
                <td>
                    <img src="frame_help.gif" />
                </td>
            </tr>
            <tr>
                <td>
                    <font size="-1" color="gray">1.多填写一行就会缩小一些检索范围，得到更精确的检索结果。</font>
                    <br />
                    <font size="-1" color="gray">2.系统支持同义词，当检索labor，结果列表中将显示包含关键词labor和关键词labour的记录。</font>
                </td>
            </tr>
        </table>
    </div>
    <div style="width: 100%; padding-left: 10%">
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
    </div>
    <div id="divResult" align="left" style="padding-left: 10%; width: 100%" visible="false"
        runat="server">
        <h3>
            &nbsp;</h3>
        <h3>
            &nbsp;</h3>
        <h3>
            &nbsp;</h3>
        <h3>
            &nbsp;</h3>
        <h3>
            &nbsp;</h3>
        <h3>
            &nbsp;</h3>
        <h3>
            &nbsp;</h3>
        <h3>
            搜索结果：</h3>
        <table style="border-style: groove; width: 80%" cellspacing="0">
            <tr>
                <td style="border-style: solid; background-color: Green; color: White">
                    书名
                </td>
                <td style="border-style: solid; background-color: Green; color: White">
                    作者
                </td>
                <td style="border-style: solid; background-color: Green; color: White">
                    编号
                </td>
                <td style="border-style: solid; background-color: Green; color: White">
                    出版社
                </td>
                <td style="border-style: solid; background-color: Green; color: White">
                    版本号
                </td>
            </tr>
            <tr>
                <td style="border-style: solid; border-color: Black">
                    《Effective C++》
                </td>
                <td style="border-style: solid; border-color: Black">
                    不是顾思宇
                </td>
                <td style="border-style: solid; border-color: Black">
                    11111
                </td>
                <td style="border-style: solid; border-color: Black">
                    不是中国的
                </td>
                <td style="border-style: solid; border-color: Black">
                    Version:1
                </td>
            </tr>
            <tr>
                <td style="border-style: solid; border-color: Black">
                    《Effective C++》
                </td>
                <td style="border-style: solid; border-color: Black">
                    不是顾思宇
                </td>
                <td style="border-style: solid; border-color: Black">
                    11111
                </td>
                <td style="border-style: solid; border-color: Black">
                    不是中国的
                </td>
                <td style="border-style: solid; border-color: Black">
                    Version:1
                </td>
            </tr>
            <tr>
                <td style="border-style: solid; border-color: Black">
                    《Effective C++》
                </td>
                <td style="border-style: solid; border-color: Black">
                    不是顾思宇
                </td>
                <td style="border-style: solid; border-color: Black">
                    11111
                </td>
                <td style="border-style: solid; border-color: Black">
                    不是中国的
                </td>
                <td style="border-style: solid; border-color: Black">
                    Version:1
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
